package com.gf.framework.cruddemo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @author gaofei
 * @date 2022/5/22 22:07
 */
@EnableCaching
@SpringBootApplication(scanBasePackages = {"com.gf"})
@Slf4j
public class CrudDemoApplication implements ApplicationRunner {
    public static void main(String[] args) {
        SpringApplication.run(CrudDemoApplication.class, args);
    }

    @Override
    public void run(ApplicationArguments args) throws Exception {
        log.info("run---------------{}", args.toString());
    }
}
